package com.net.io.nio.three.component.z.demo.server;

import static com.net.io.nio.three.component.z.demo.Const.DEFAULT_PORT;

/**
 * @author zhangtengfei
 * @date 2022/1/29 14:03
 */
public class NioServer {
    
    private static NioServerHandle nioServerHandle;

    public static void main(String[] args) {
        nioServerHandle = new NioServerHandle(DEFAULT_PORT);
        new Thread(nioServerHandle, "Server").start();
    }
}
